package five_class_design_creational_patterns.five_builderPattern;

/**
 * @author 北巷_东坡
 * @date 2022/10/16 9:37
 * @computer 10741
 */
public class Client_LDP {
    public static void main(String[] args) {
        ComputerBuilder206 computerBuilder206 = (ComputerBuilder206) XMLUtil.getBean();
        ComputerDirector206 computerDirector206 = new ComputerDirector206();
        computerDirector206.setCb(computerBuilder206);
        Computer206 computer206 = computerDirector206.construce();

        System.out.println("计算机的组成为");
        System.out.println(computer206.getCPUs());
        System.out.println(computer206.getDisplay());
        System.out.println(computer206.getHardwareEquipment());
    }
}
